import { get } from '../request/index';

// 根据model获取IC最近7天时间
export const getIcTimes = params => {
  return get('getIcTimes7_ByModel_2', params)
}

// 库存变化前10的数据
export const getICChange10_2 = params => {
  return get('/getICChange10_2', params)
}
// IC库存前10
export const getICStock10_2 = params => {
  return get('/getICStock10_2', params)
}
// IC交易变化图
export const getIc7chart = params => {
  return get('/getIc7totalByModel_2', params)
}
// 正能量变化图
export const getZNL = params => {
  return get('/getZNN7ByModel_2', params)
}
// 第三方总库存变化
export const getOtherStack = params => {
  return get('/getThirdStockByModel2', params)
}
// vite好像对es module支持有点问题
// export default {
//   getIcTimes,
//   getICChange10_2,
//   getICStock10_2,
//   getIc7chart
// }
